package com.hksj.acm.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author fjt
 * @data 2024/7/10 17:32
 * @describe todo
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DeviceAttributeVO implements Serializable {

    private static final long serialVersionUID = -6895654477946558276L;

    @ApiModelProperty("属性key(温度(wd结尾)；湿度(sd结尾))")
    private String key;

    @ApiModelProperty("属性名称")
    private String keyName;

    @ApiModelProperty("监测值(若key是以bj结尾，则0正常，1报警；若以kg结尾，则0关，1开；系统运行工况(Xityxgk:0-夏季;1-冬季)；机组故障状态(Jizgz:0-正常;1-故障))")
    private String value;

    @ApiModelProperty("单位key")
    private String unit;

}
